package com.peas.platform.module.icims.budget.archives.dto;

import java.util.*;

import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 指标库
@Data
@EqualsAndHashCode(callSuper = false)
public class BudgetKpiDto extends BaseDto {

    // 指标来源
    // 1:页面创建，2:预算编制
    private String source;

    // 指标级别
    // 1:一级指标，2:二级指标，3:三级指标
    private Integer level;

    // 指标编号
    @Condition(operator = ConditionOperator.IN)
    private String code;

    // 指标名称
    private String name;

    // 排序权重
    private Integer weight;

    // 上级指标ID
    // （指标库表）外键
    private Long parentId;

    // 状态
    // 1:有效，0:无效
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
